To replicate the tables and figures in this paper, run the code in the file 
"LDVReplication.R" in the program R. When run in its entirety, this file will 
output the figures in the paper and will also output text that replicates the 
tables in the paper. The output text is formatted to be typeset in LaTeX so 
that the tables will be easier to read. Before printing the output from each 
table, the "LDVReplication.R" file prints out a comment noting the number of 
the  table. This is because the order of the tables printed by the code differs 
from their order in the paper. The figures will be generated in the same order 
as the paper.

To summarize, the steps are:

1. Check that the package 'xtable' is installed in your R library.
2. Run the entirety of the code in the file "LDVReplication.R" in R.
3. Take the text output from running "LDVReplication.R" and typeset it in LaTeX.

The "LDVReplication.R" file notes which sections generate each table or figure. 
If it is preferable not to have the table output formatted for LaTeX, find the 
lines in the code generating each table (which are noted with a comment in the 
code) and remove the xtable() function wrapping the table output.

For your reference, the tables appear in the following order in the code 
(and output):
Table 1
Table 2

Table 4
Table 11
Table 5
Table 12
Table 6
Table 13

Table 7
Table 14
Table 8
Table 15
Table 9
Table 16

Table 3, rows 1 and 2
Table 3, rows 3 and 4
Table 10, rows 1 and 2
Table 10, rows 3 and 4


In order to make it easier to keep track of all of the tables in the resulting 
output file, I have placed code that prints the table number before printing 
the table itself. That is so when the text output of the code is directly 
inserted into LaTeX, each table will be labeled with its number. For example, 
before printing Table 1, the command 'cat("\\clearpage Table 1\n")' is run. 
Note that '\clearpage' is a LaTeX command that will ensure that each table is 
printed on its own page. The commands printing table numbers do not affect 
any of the code generating and processing the data.

Please see the file "RConsole_LDV.txt", which shows an R Console session after 
running the code in the "LDVReplication.R" file.
